package com.hzmg.akkacloud.worker.common;

import akka.actor.ActorSystem;
import akka.cluster.Cluster;
import lombok.Data;

/**
 * store worker's runtime
 *
 * @author zbw
 * @since 2022/7/7
 */
@Data
public class WorkerRuntime {

    private Long appId;

    private AkkaCloudWorkerConfig workerConfig;
    /**
     * akkaIp
     */
    private String workerAddress;
    /**
     * serverIp
     */
    private String webAddress;
    private ActorSystem actorSystem;
    private Cluster cluster;
    /*private OmsLogHandler omsLogHandler;*/
    private String firstConsoleAddress;

}
